package cn.famouscat.ex002;

import android.app.IntentService;
import android.content.Intent;
import android.util.Log;

/**
 * Created by huangjin.
 * 2016/01/20
 */
public class MyIntentService extends IntentService {

    private final static String TAG = "MyIntentService";


    public MyIntentService() {
        super("intentservice");
    }

    @Override
    protected void onHandleIntent(Intent intent) {
        Log.d(TAG,"=====onHandleIntent:"+Thread.currentThread().getName());
        Log.d(TAG,"=====onHandleIntent:Main:"+getMainLooper().getThread().getName());
    }
}
